#include <iostream>
#define Pi 3.14159265

using namespace std;

class Circle{
public:
    float r;
    Circle(float r):r(r){}
    void Cal(){
    cin >> r;
    cout << "S=" << r*r << ";" << endl << "C=" << Pi*r*2 << endl;
    }
};

int main()
{
    float r;
    Circle ci(r);
    ci.Cal();
    return 0;
}
